.tabs {
  display: flex;
  justify-content: space-around;
  margin: 60px auto;
  padding: 0 100px;
  border-bottom: 1px solid #ddd;
  a {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
    font-size: 24px;
    &.active {
      color: #0065b3;
      border-color: #0065b3;
    }
  }
}

.box {
  &-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }
  .item {
    border: 1px solid #ddd;
    padding: 20px;
    div {
      margin-top: 20px;
      text-align: center;
    }
    &:hover {
      img {
        transform: scale(1.1);
      }
    }
  }
  .img {
    height: 220px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    img {
      max-width: 100%;
      max-height: 100%;
      transition: all .3s;
    }
  }
}


@media screen and (max-width: 1400px) {
  .tabs {
    padding: 0 20px;
    margin: 0;
    margin-bottom: 20px;
    gap: 10px;
    a {
      font-size: 14px;
      padding: 10px;
    }
  }
  .box {
    &-content {
      padding: 20px;
      grid-template-columns: repeat(2, 1fr);
      margin-bottom: 20px;
    }
    .img {
      height: initial;
    }
  }
}